/* eslint-disable */
<template>
<div class="rating_page">
     <head-top head-title="个人情况" go-back='true'></head-top>
  <div v-for="(item, index) in task" :key="index">
      <cell :title="item.label" :value="item.value" primary="content"></cell>
      <!-- <cell title="个人培训统计信息"> -->
  </div>
</div>
</template>
<script>
import { CellFormPreview, Group, Cell, XButton } from "vux";
import headTop from "src/components/head";
// import { getAcDetail } from "src/service/actual";
export default {
  name: "taskDetail",
  data() {
    return {
      tabIndex: 0,
      downloadUrl: process.env.downloadUrlQn,
      previewUrl: process.env.previewUrl,
      eventId: "",
      code: "",
      task: [],
      userInfo: null,
      userCode: "",
      actual: {
        id: undefined
      },
      showButton: false,
      showRegButton: false,
      attLink: [],
      showFiles: false,
      files: []
    };
  },
  components: {
    headTop,
    CellFormPreview,
    Group,
    Cell,
    XButton
  },
  mounted() {
    // this.getDetail();
  },
  created() {
    //   父页面重要参数传递
    this.eventId = this.$route.query.eventId;
    this.userInfo = this.$store.state.user;
    this.tabIndex = this.$route.query.tabIndex;
    // this.code =  this.userInfo.user_code;
    // console.log("created-userInfo", this.userInfo);
    // console.log("created-this.code", this.code);
  },
  methods: {
  }
};
</script>
<style lang="less" scoped>
@import "~vux/src/styles/1px.less";
@import "~vux/src/styles/center.less";
.rating_page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  overflow: scroll;
}
</style>
